<?php include(TPL_PATH . '/admin/inc_header.php'); ?>
<?php include(TPL_PATH . '/admin/inc_top.php'); ?>

<script type="text/javascript">
<!--
$(document).ready(function() {
	$('.cls_order').tooltip({'placement':'right'}).each(function() {
		$(this).blur(function() {
			var _this = $(this);
			var v = _this.val();
			var id = _this.attr('id');
			if ('' != v) {
    			$.post('<?php p(HTTP_URL) ?>/index.php?m=admin&c=cat&a=sort', {"id":id, "val":v}, function(re) {
    				if ('no' == re.ok) {
    					alert(re.msg);
    				} else if ('yes' == re.ok) {
						$('#' + id).attr('placeholder', v);
    				}
    				$('#' + id).val('');
    			}, 'json');
			}
		});
	});
});
//-->
</script>

<?php p($strTable) ?>

<?php include(TPL_PATH . '/admin/inc_bottom.php'); ?>
<?php include(TPL_PATH . '/admin/inc_footer.php'); ?>